package com.fs.common.baseMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.common.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author ACE
 * @desc 菜单mapper
 * @creationTime 2019-04-03 21:52
 * @projectName weixinframe
 * @packageName com.fs.base.mapper
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findByIdInOrderByMenuOrderAsc(@Param("menuId") Set<Object> menuId);

    List<Menu> findByShortCut(@Param("shortCut") Integer shortCut);
}
